package com.woniu.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 签约管理表
 * </p>
 *
 * @author doujiao
 * @since 2022-10-18
 */
@Getter
@Setter
@TableName("tb_sign")
@ApiModel(value = "Sign对象", description = "签约管理表")
public class Sign implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("id")
      @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("用户id")
      private Long userId;

      @ApiModelProperty("机构id")
      private Long organizationId;

      @ApiModelProperty("团队id")
      private Long teamId;

      @ApiModelProperty("服务包id")
      private Long packageId;

      @ApiModelProperty("用户的名字")
      private String userName;

      @ApiModelProperty("签约医生的id")
      private Long doctorId;

      @ApiModelProperty("签约状态的id")
      private Long signStatusId;

      @ApiModelProperty("签约时间")
      private String signTime;

      @ApiModelProperty("申请时间")
      @TableField(fill = FieldFill.INSERT)
      private Date applyTime;

      @ApiModelProperty("生效时间")
      private Date valueTime;

      @ApiModelProperty(" 签约状态0待签约，1签约中，2待续约，3生效中，4.以过期")
      private String status;

      @ApiModelProperty("审核时间")
      private Date auditTime;

      @ApiModelProperty("支付时间")
      private Date payTime;

      @ApiModelProperty("备注")
      private String remark;

      @ApiModelProperty("是否删除")
      @TableLogic
      private String isDelete;
}
